#!/bin/bash

cfile=""

usage(){
cat <<EOF
Usage:
     getfunc <filename>
EOF
exit
}


if [ $# -eq 1 ];then
	if [ $1 == '--help' ];then
		usage
	else
        cfile=$1
	fi
else
	usage
fi

ctags -x --c-types=f ${cfile} | cut -c51- |sed -e 's/$/;/g'
